home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi Informant Complete 1995 - 2000
/
Delphi Informant Complete 1995 to 2000.iso
/
Delphi Informant Magazine Complete Works SOURCE CODE 1998.rar
/
1998
/
Feb
/
di9802kw
/
WebPics1.dfm
/
WebPics1.txt
Wrap
Text File
|
1997-08-19
|
5KB
|
170 lines
object wmdWebPics: TwmdWebPics
OnCreate = wmdWebPicsCreate
OnDestroy = wmdWebPicsDestroy
Actions = <
item
Default = True
Name = 'wacGetPic'
OnAction = wmdWebPicswacGetPicAction
end
item
Name = 'wacConfigure'
PathInfo = '/config'
OnAction = wmdWebPicswacConfigureAction
end>
Left = 200
Top = 108
Height = 193
Width = 205
object qryWebPics: TQuery
DatabaseName = 'WebPicsDB'
SQL.Strings = (
'select PICTURE_TYPE, PICTURE_BLOB'
'from WEBPICS'
'where PICTURE_NO = :id')
Params.Data = {0100010002696400030400000000000000}
Left = 128
Top = 8
end
object dbsWebPics: TDatabase
DatabaseName = 'WebPicsDB'
KeepConnection = False
LoginPrompt = False
SessionName = 'Default'
Left = 28
Top = 8
end
object wppListSchemes: TPageProducer
HTMLDoc.Strings = (
'<html>'
'<head>'
'<title>WebPics Configuration</title>'
'</head>'
'<body>'
'<h2>WebPics Configuration</h2>'
'<p>Select one of the configurations below to update or delete'
'or <a href="<#SCRIPT>/config?action=Get&id=0">add a new configur' +
'ation</a>.</p>'
'<#SCHEMES>'
'</body>'
'</html>')
OnHTMLTag = wppListSchemesHTMLTag
Left = 28
Top = 60
end
object wppAddScheme: TPageProducer
HTMLDoc.Strings = (
'<html>'
'<head>'
'<title>WebPics Configuration</title>'
'</head>'
'<body>'
'<h2>WebPics Add a Configuration</h2>'
'<p>Enter values for each field below then press <strong>Add</str' +
'ong> to save it.</p>'
'<form method=post action="<#SCRIPT>/config">'
'<center>'
'<table width=100%>'
'<tr><td align=right>Scheme name<td><input type=text name="name" ' +
'size=32 maxlength=32>'
'<td align=right>Alias<td><input type=text name="alias" size=32 m' +
'axlength=32></tr>'
'<tr><td align=right>User id<td><input type=text name="user" size' +
'=32 maxlength=32>'
'<td align=right>Password<td><input type=password name="password"' +
' size=32 maxlength=32></tr>'
'<tr><td align=right valign=top>Other parameters<td><textarea nam' +
'e="other" rows=3 cols=32></textarea></tr>'
'<tr><td align=right>Table<td><input type=text name="table" size=' +
'32 maxlength=32>'
'<td align=right>Key field<td><input type=text name="key" size=32' +
' maxlength=32></tr>'
'<tr><td align=right>Blob field<td><input type=text name="blob" s' +
'ize=32 maxlength=32>'
'<td align=right>Type field<td><input type=text name="type" size=' +
'32 maxlength=32></tr>'
'</table>'
'<p><input type=submit name="action" value="Add">'
'<input type=reset name="Reset"></p>'
'</center>'
'</form>'
'<p>Return to the <a href="<#SCRIPT>/config">list of current sche' +
'mes</a>.</p>'
'</body>'
'</html>')
OnHTMLTag = wppAddSchemeHTMLTag
Left = 28
Top = 108
end
object wppUpdateScheme: TPageProducer
HTMLDoc.Strings = (
'<html>'
'<head>'
'<title>WebPics Configuration</title>'
'</head>'
'<body>'
'<h2>WebPics Update a Configuration</h2>'
'<p>Alter values in any field below then press <strong>Update</st' +
'rong> to save it.</p>'
'<form method=post action="<#SCRIPT>/config">'
'<center>'
'<table width=100%>'
'<tr><td align=right>Scheme id<td><#ID><input type=hidden name="i' +
'd" value="<#ID>"></tr>'
'<tr><td align=right>Scheme name<td><input type=text name="name" ' +
'value="<#NAME>" size=32 maxlength=32>'
'<td align=right>Alias<td><input type=text name="alias" value="<#' +
'ALIAS>" size=32 maxlength=32></tr>'
'<tr><td align=right>User id<td><input type=text name="user" valu' +
'e="<#USER>" size=32 maxlength=32>'
'<td align=right>Password<td><input type=password name="password"' +
' size=32 maxlength=32></tr>'
'<tr><td align=right valign=top>Other parameters<td><textarea nam' +
'e="other" rows=3 cols=32><#OTHER></textarea></tr>'
'<tr><td align=right>Table<td><input type=text name="table" value' +
'="<#TABLE>" size=32 maxlength=32>'
'<td align=right>Key field<td><input type=text name="key" value="' +
'<#KEY>" size=32 maxlength=32></tr>'
'<tr><td align=right>Blob field<td><input type=text name="blob" v' +
'alue="<#BLOB>" size=32 maxlength=32>'
'<td align=right>Type field<td><input type=text name="type" value' +
'="<#TYPE>" size=32 maxlength=32></tr>'
'</table>'
'<p><input type=submit name="action" value="Update">'
'<input type=reset name="Reset"></p>'
'</center>'
'</form>'
'<p>Return to the <a href="<#SCRIPT>/config">list of current sche' +
'mes</a>.</p>'
'</body>'
'</html>')
OnHTMLTag = wppUpdateSchemeHTMLTag
Left = 128
Top = 108
end
end